#ifndef OBJECT_DESTROY_FUNCTIONAL_H_
#define OBJECT_DESTROY_FUNCTIONAL_H_

namespace rpg {

	template<class T>
	class ObjectDestroyFunctional {
	public:
		void operator () (T *object) const;
	};

	template<class T>
	void ObjectDestroyFunctional<T>::operator () (T *object) const {
		delete object;
	}

}

#endif /* OBJECT_DESTROY_FUNCTIONAL_H_ */

